package com.xusheng.cli.entity.messageModule;

import com.xusheng.cli.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * (Message)表实体类
 *
 * @author whr
 * @since 2023-11-20 16:35:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Message extends BaseEntity {
    private static final long serialVersionUID = -2258319305331755769L;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 类型 1：公告 2：新消息
     */
    private Integer type;
    /**
     * 新消息
     */
    private Boolean newMessage;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 首页展示
     */
    private Boolean homeShow;

}

